package com.ruoyi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;

/**
 * 消息管理对象 jk_fllowup_message
 *
 * @author ruoyi
 * @date 2023-09-12
 */
@TableName(value = "jk_fllowup_message")
public class JkFllowupMessage
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 用户id */
    @TableField(value = "user_id")
    @Excel(name = "用户id")
    private Long userId;

    /** 随访id */
    @TableField(value = "fllowup_id")
    @Excel(name = "随访id")
    private Long fllowupId;

    /** 随访类型 */
    @TableField(value = "fllowup_type")
    @Excel(name = "随访类型")
    private Long fllowupType;

    /** 消息标题 */
    @TableField(value = "message_title")
    @Excel(name = "消息标题")
    private String messageTitle;

    /** 是否读取：0：未读 1：已读 */
    @TableField(value = "if_read")
    @Excel(name = "是否读取：0：未读 1：已读")
    private Integer ifRead;

    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setFllowupId(Long fllowupId)
    {
        this.fllowupId = fllowupId;
    }

    public Long getFllowupId()
    {
        return fllowupId;
    }
    public void setFllowupType(Long fllowupType)
    {
        this.fllowupType = fllowupType;
    }

    public Long getFllowupType()
    {
        return fllowupType;
    }
    public void setMessageTitle(String messageTitle)
    {
        this.messageTitle = messageTitle;
    }

    public String getMessageTitle()
    {
        return messageTitle;
    }
    public void setIfRead(Integer ifRead)
    {
        this.ifRead = ifRead;
    }

    public Integer getIfRead()
    {
        return ifRead;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
